Return to start page

SetTerrainSpacePathable

Description

Original description: The function SetTerrainPathable sets a single 32x32 space on the pathing grid. However, SetTerrainType sets a 128x128 space on the terrain grid, and does not change the pathing for that space. If you want to change the pathing, you'd have to change the pathing for 16 individual points per terrain space. This function rectifies the situation by allowing you to change the pathing for a single space on the terrain grid, instead of a single space on the pathing grid. Note: In my tests, the alignment was correct. However, there might be cases where this isn't true, so if there is a problem I will change the numbers as needed.

Source File

Core/Environment/Library Terrain.j

Library

ALibraryCoreEnvironmentTerrain

Scope

-

Private

No

Parameters

Return Type

-

Public

No

Native

No

Constant

No